package cn.csc.module.pay.api.order.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.List;

/**
 * @author liuchuang
 * @version 1.0
 * @date 2024/3/26 11:08
 * @modify
 */
@ApiModel("订单分账 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateDivideWithOrderItemIdReqDTO implements Serializable {

    @NotEmpty(message = "商户订单号不能为空")
    @ApiModelProperty(value = "商户订单号", example = "P1806535470441689086")
    private String merchantOrderId;

    @NotEmpty(message = "订单项ID列表不能为空")
    @ApiModelProperty(value = "订单项ID列表", example = "{1805894511295066116,1805894511295066117}")
    private List<BigInteger> orderItemIds;


}
